<template>
    <div class="faker">
       <button @click="bt">点一下</button>
    </div>
</template>


<script setup>
import { useRouter } from 'vue-router';
const router = useRouter()


const bt =()=>{
    router.push('http://www.baidu.com')
}
 </script>




<style scoped>

</style>